package nexus.criterios.exp;

import javax.faces.event.ActionEvent;


public class NumericKey extends Key{
    private int value;
    private KeyListener listen;
    public NumericKey(int v,KeyListener listen,String s){
        super(s);
        value=v;
        this.listen=listen;
    }
    public void action(ActionEvent ae) {
        listen.clickNumero(value);
    }
    public String getValue() {
        return value+"";
    }
}
